package com.lad.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author luheng
 * @create 2021-01-20 22:49
 */
@FeignClient("sc-provider")
public interface ProviderFeignService {

    @GetMapping("/getTest")
    public String test();

    @GetMapping("/getTest1")
    public String test1(@RequestParam("txt") String txt);
}
